# 方法1：使用转义字符
user_message1 = 'I\'m learning Python, it\'s awesome!'
print(user_message1)
# Output:I'm learning Python, it's awesome!

# 方法2：混合使用引号
user_message1 = "I'm learning Python, it's awesome!"
print(user_message1)
# Output:I'm learning Python, it's awesome!


# 方法3：使用三引号处理复杂情况
complex_message = """User said: "I can't believe Python's simplicity!" """
print(complex_message)
# Output:User said: "I can't believe Python's simplicity!" 

user_message2 = 'He said: "Python\'s syntax is clean"'
print(user_message2)
# Output:He said: "Python's syntax is clean"


user_message2 ="""He said: "Python's syntax is clean" """
print(user_message2)
# Output:He said: "Python's syntax is clean"